Repository navigation
Conversation
commit: |
cowboyd
force-pushed
the
dom-is-connected
branch
from
November 13, 2026 20:25
625078f to
0a8a5c0
Compare
cowboyd
marked this pull request as ready for review
November 13, 2026 20:25
3 of 9 tasks
natemoo-re
approved these changes
Nov 15, 2026
cowboyd
marked this pull request as draft
November 17, 2026 17:46
cowboyd
force-pushed
the
dom-is-connected
branch
2 times, most recently
from
November 17, 2026 21:35
2fb1ba3 to
e743434
Compare
cowboyd
force-pushed
the
dom-is-connected
branch
2 times, most recently
from
November 17, 2026 22:12
1f16d9c to
bdf0c33
Compare
cowboyd
force-pushed
the
dom-is-connected
branch
from
November 17, 2026 22:39
bdf0c33 to
ac1f6ff
Compare
cowboyd
changed the base branch from
dom-get-element-by-id
to
dom-default-view
November 17, 2026 22:40
cowboyd
force-pushed
the
dom-is-connected
branch
from
November 17, 2026 22:48
ac1f6ff to
11c5208
Compare
3 of 9 tasks
cowboyd
force-pushed
the
dom-is-connected
branch
from
November 18, 2026 01:22
11c5208 to
c94ff9c
Compare
cowboyd
force-pushed
the
dom-is-connected
branch
from
November 18, 2026 02:23
c94ff9c to
b45b97c
Compare
cowboyd
force-pushed
the
dom-is-connected
branch
from
November 18, 2026 02:41
b45b97c to
35ae3a3
Compare
cowboyd
force-pushed
the
dom-is-connected
branch
from
November 18, 2026 02:50
35ae3a3 to
28e83bb
Compare
natemoo-re
approved these changes
Nov 19, 2026
cowboyd
force-pushed
the
dom-is-connected
branch
from
November 19, 2026 16:19
28e83bb to
7c0bb12
Compare
cowboyd
force-pushed
the
dom-is-connected
branch
from
November 19, 2026 17:17
7c0bb12 to
72ad2c3
Compare
This was referenced Nov 19, 2026
3 of 9 tasks
cowboyd
added a commit
that referenced
this pull request
Nov 19, 2026
## What does this PR do? Add `Document.createDocumentFragment()`, fragment node identity, descendant `textContent`, and insertion that transfers children in order and returns the emptied fragment. Enable the corresponding original Web Platform Tests. This starts the shared DOM foundation used by styling (#38) and focus (#75). The next PR, #70, adds document lookup and live collections on top of these node primitives. The WPT runner is inherited from `main`. ## Type of change - [ ] Bug fix - [x] Feature - [ ] Refactor (no behavior change) - [ ] Documentation - [ ] Performance improvement - [ ] Tests - [ ] Chore (dependencies, CI, tooling) ## Checklist - [x] I have added a changeset ## AI-generated code disclosure - [x] This PR includes AI-generated code
cowboyd
marked this pull request as ready for review
November 19, 2026 17:25
cowboyd
marked this pull request as draft
November 19, 2026 19:19
Contributor
Author
|
no stacks on stacks |
cowboyd
added a commit
that referenced
this pull request
Nov 23, 2026
## What does this PR do? Provide the shared DOM lookup layer at the base of [the styling stack](https://github.com/bombshell-dev/ui/stack/107). The focus stack (#75) also depends on this PR; document fragments from #90 are already on main. - `Document.getElementById()` finds the first matching element in current tree order and reflects ID changes, insertion, removal, and reordering. - `findElement` and `findElements` reuse the CSS selector adapter for literal predicate traversal. - `Document.getElementsByTagName()` returns live `HTMLCollection` results with indexed access, iteration, and named lookup. - `HTMLDivElement` is registered once in the document factory and WPT bindings. ## Type of change - [ ] Bug fix - [x] Feature - [ ] Refactor (no behavior change) - [ ] Documentation - [ ] Performance improvement - [ ] Tests - [ ] Chore (dependencies, CI, tooling) ## Checklist - [x] I have added a changeset ## AI-generated code disclosure - [x] This PR includes AI-generated code
cowboyd
added a commit
that referenced
this pull request
Nov 23, 2026
## What does this PR do? This adds a style system that hews as closely to CSS as possible. It is not, and cannot be, CSS compliant, but where CSS styles provide an answer, it uses it. It's fair to describe it as a _subset_ of CSS. This CSS based system is completely decoupled from TTY styling and so every property is explicitly mapped over. Included in this PR are styles for display, flex direction, spacing, borders, and CSS colors. <img width="470" height="236" alt="image" src="https://github.com/user-attachments/assets/2d31eabd-cd4f-4300-a4e0-a3167cb6540d" /> Currently there are only default styles and inline styles of an element, but we can later add style rules that match. <img width="195" height="125" alt="image" src="https://github.com/user-attachments/assets/478111c4-8a52-4001-a82f-e725e55f2919" /> The existing style cases now run directly from original WPT sources on the native WPT base (#87). Relevant spec: CSSOM’s [CSSStyleDeclaration interface](https://drafts.csswg.org/cssom/#the-cssstyledeclaration-interface). This follows shared DOM lookup #70 in [the styling stack](https://github.com/bombshell-dev/ui/stack/107). The focus stack starting at #75 also depends on #70. ## Validation - 267 workspace tests and 734 upstream WPT cases pass at the styling stack tip. - Build, lint, formatting, and WPT package typecheck pass. ## Type of change - [ ] Bug fix - [x] Feature - [ ] Refactor (no behavior change) - [ ] Documentation - [ ] Performance improvement - [ ] Tests - [ ] Chore (dependencies, CI, tooling) ## Checklist - [x] I have added a changeset ## AI-generated code disclosure - [x] This PR includes AI-generated code I used AI to generate test cases, and occasionally suggest code snippets. Subsequent AI assistance also includes implementation, WPT adaptations, validation, and PR splitting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Add
Node.isConnectedas a prerequisite for programmatic focus. The getter walks ancestors until it reaches aDocumentand reflects attachment and removal immediately.This starts the focus stack on the shared DOM foundation in #70. Document fragments, ID lookup, element interfaces, and live collections are inherited from that common stack. The connectivity case runs directly from upstream WPT.
Validation
Type of change
Checklist
AI-generated code disclosure